package ui.component;

import java.awt.Graphics;
import java.awt.Rectangle;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;
import javax.swing.JComponent;
import javax.swing.JPanel;

@SuppressWarnings("serial")
public class NavigatePanel extends BlockPanel {
	public NavigatePanel(String picPath){
		super(picPath);
		this.setImage();
        this.setLayout(null);
	}

	@Override
	public void add(Rectangle rect, JComponent module) {
		// TODO Auto-generated method stub
		module.setBounds(rect);
		this.add(module);
		this.repaint();
	}
}
